FROM openjdk:17

ENV work_dir=/user/eureka

RUN mkdir ${work_dir}

WORKDIR ${work_dir}

COPY ./target/eureka.jar ./

ENTRYPOINT ["java","-jar", "${work_dir}/eureka.jar"]